﻿
<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> 
<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" CodeBehind="UrlReferers.aspx.cs" Inherits="Macaw.Wss3.DependencySpiderSolution.UrlReferers, Macaw.Wss3.DependencySpiderSolution, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bd24d683d13b11c5" %>

<%@ Import Namespace="Microsoft.SharePoint" %>

<asp:Content ID="PlaceHolderMain" runat="server" contentplaceholderid="PlaceHolderMain" >
    <link href="/_layouts/Macaw.Wss3.DependencySpiderSolution/Css/DependencySpiderSolution.css" rel="Stylesheet" type="text/css" />
    <h1>Url referencing</h1>
    <div>
        <p>Enter the Url to find from where it's being referenced:</p>
        <p>
            <asp:TextBox runat="server" ID="tbUrl" Columns="80" />
            <asp:Button runat="server" id="btnSearch" Text="Search" OnClick="Search_Click" />
        </p>
    </div>
    <p>
        The given Url is being referenced from the following sources:
    </p>
    <asp:Repeater runat="server" ID="rptReferers">
        <HeaderTemplate><ul class="Dependencies"></HeaderTemplate>
        <FooterTemplate></ul></FooterTemplate>
        <ItemTemplate>
            <li runat="server" id="listitem">
                <asp:HyperLink runat="server" ID="hyperlink" />
            </li>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>

<asp:Content ID="PageTitle" runat="server" contentplaceholderid="PlaceHolderPageTitle" >
   Url Referencing
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" runat="server" contentplaceholderid="PlaceHolderPageTitleInTitleArea" >
   Url Referecing
</asp:Content>